package cn.wolfcode.service;

import cn.wolfcode.domain.Banner;
import cn.wolfcode.query.BannerQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IBannerService {
    void insert(Banner banner);
    void update(Banner banner);
    void delete(String id);
    Banner get(String id);
    List<Banner> listAll();


    Page query(BannerQuery qo);

    List<Banner> queryBanner(int type);
}
